package com.solo.system.service.impl;

import com.solo.common.core.base.service.impl.BasicServiceImpl;
import com.solo.system.api.entity.SysDictData;
import com.solo.system.mapper.SysDictDataMapper;
import com.solo.system.service.SysDictDataService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 字典数据Service实现类
 * @author 十一
 * @since 2023/09/26 11:28
 * 人生若只如初见，何事秋风悲画扇
 **/
@Service
@AllArgsConstructor
public class SysDictDataServiceImpl extends BasicServiceImpl<SysDictDataMapper, SysDictData> implements SysDictDataService {

    private final SysDictDataMapper sysDictDataMapper;
    
    @Override
    public List<SysDictData> selectByCode(String code) {
        return sysDictDataMapper.selectByCode(code);
    }

}
